import personRouters from "./person/index";
import healthRecordRouters from "./health-record";
import recipeRouters from "./recipe";
import newsRouters from "./news";
import healthDataRouters from "./health-data";
import healthDataViewRouters from "./health-data-view";
import homeRouters from "./home";

export default [
  {
    path: "/portal/index",
    name: "portalIndex",
    component: () => import("@/views/portal/Index.vue"),
    children: [
      ...personRouters,
      ...healthRecordRouters,
      ...recipeRouters,
      ...newsRouters,
      ...healthDataRouters,
      ...healthDataViewRouters,
      ...homeRouters,
    ],
  },
];
